import layout from '@/layout'
export default {
  path: '/departments',
  component: layout,
  // 设置二级的路由组件的内容是显示在父组件中
  children: [{
    name: 'departments',
    path: '', // 默认自动匹配父路由
    component: () => import('@/views/departments/departments.vue'),
    meta: { title: '组织架构', icon: 'el-icon-s-tools' }

  }]
}
